<?php

require_once('classes/Database.php'); // including service class to work with database
require_once('classes/API.php'); // including service class to work with database
$oAPI = new API();

// process actions
switch ($_REQUEST['action']) {
    case 'getAllParking':
        $oAPI->getAllParking();
        break;
    
}